package top.haijunit.navi.auth.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.haijunit.navi.auth.domain.PermissionMerge;
import top.haijunit.navi.auth.entity.RoleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 针对表【access_role(角色表)】的数据库操作Mapper
 *
 * @author zhanghaijun
 * @since 2024-10-25 16:33:25
 */
@Mapper
public interface RoleMapper extends BaseMapper<RoleEntity> {

    List<PermissionMerge> selectRolePermissionByRoleId(@Param("roleCodes") List<Long> roleCode);
}




